Prevent the destruction of the menu label on page removal
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 22 Mar 2010 18:11:05 +0000 (14:11 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:59:19 +0000 (20:59 -0400)
commit177973bdfc08c156af7400318100b3577262dda2
tree91ed07b23b3760e2faae728f7f828d9c6ddb38b5
parentb1ca3163a6df526c548b620daccefe60e75de39b
Prevent the destruction of the menu label on page removal

In certain cases the menu label of a notebook page will be reused after the
page was removed from the notebook, for instance when a page is dragged from
one notebook to another. For such cases make sure that the menu label isn't
destroyed as part of destroying the menu item it was in.
gtk/gtknotebook.c